<?php
	if(is_array($_POST['content_id'])) {
		$content_id = $_POST['content_id'];
		$sql = "UPDATE `tbl_promotion` SET `status` = '2' WHERE `content_id` IN (". implode (',',$content_id) .")";
	} else { 
		$content_id = $params[0]; 
		$sql = "UPDATE `tbl_promotion` SET `status` = '2' WHERE `content_id` = '$content_id' LIMIT 1"; 
	}
	mysql_query($sql);
	exit;
?>